package com.megalith.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.flowable.engine.task.Comment;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description
 * @Author lfp
 * @Date 2022/7/15
 * @Version 1.0
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "HistoricActivityInstanceEntityVO",description = "历史活动VO")
public class HistoricActivityInstanceEntityVO{
    @ApiModelProperty("活动id")
    private String id;

    @ApiModelProperty("活动类型")
    private String activityType;

    @ApiModelProperty("任务编号")
    private String taskId;

    @ApiModelProperty("活动编号")
    private String activityId;

    @ApiModelProperty("活动名称")
    private String activityName;

    @ApiModelProperty("流程实例编号")
    private String processInstanceId;

    @ApiModelProperty("任务执行编号")
    private String executionId;

    @ApiModelProperty("任务待办人")
    private String assignee;

    @ApiModelProperty("开始时间")
    private String startTime;

    @ApiModelProperty("结束时间")
    private String endTime;

    @ApiModelProperty("耗时（MS）")
    private Long durationInMillis;


    @ApiModelProperty("删除原因")
    private String deleteReason;

    @ApiModelProperty("评论")
    List<Comment> comments;

    @ApiModelProperty("历史流程变量")
    List<HistoricDetailVariableInstanceVO> variableList= new ArrayList<>();
}
